﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Manage_Pupils
{
    public partial class Form1 : Form
    {
        private Connection cons = new Connection();

        public Form1()
        {
            InitializeComponent();
        }

        private void chứcNăngDToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fmQuanLyDiem fmQuanLyDiem = new fmQuanLyDiem();
            fmQuanLyDiem.Show();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //cons.DisConnect();
            System.Windows.Forms.Application.Exit();
        }

        private void chứcNăngAToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCapNhatHS fm = new FormCapNhatHS();
            fm.Show();
        }

        private void chứcNăngCToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCapNhatMH fm = new FormCapNhatMH();
            fm.Show();
        }

        private void chứcNăngBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormTimKiem fmSearch = new FormTimKiem();
            fmSearch.Show();
        }

        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void chứcNăngFToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormQuiDinh fmQuiDinh = new FormQuiDinh();
            fmQuiDinh.Show();
        }
    }
}
